<template>
  <el-row class="home" :gutter="20">
    <el-col :span="8" style="margin-top:5px">
      <el-card class="box-card" shadow="hover" style="margin-bottom: 30px;">
          <div class="user">
            <div class="user-avatar">
              <img src="../assets/avatars.jpg">
            </div>
            <div class="userinfo">
              <p class="name">Admin</p>
              <p class="acess">超级管理员</p>
              <p class="acess">欢迎使用生产调度系统V1.0</p>
            </div>
          </div>
        <div class="login-info">
          <p>上次登陆的时间:<span>2021-5-20</span></p>
          <p>上次登陆的地点:<span>厦门</span></p>
        </div>
      </el-card>

      <el-card :body-style="{ padding: '10px' }" shadow="hover" class="box-card" style="margin-bottom:30px;">
        <img src="../assets/scheduling-system.png" class="image">
        <div style="padding: 10px; text-align: center; color: red;">
          <span style="color: red;">生产调度系统框架图</span>
        </div>
      </el-card>

      <el-card class="box-card" shadow="hover">
        <div class="text item">
          <span style="color: rgb(0, 38, 255);">前后端分离技术: 前端Vue, 后端SpringBoot+MyBatis</span><br>
          <span style="color: rgb(0, 38, 255);">环境: jdk1.8, Maven, MySql5.0, idea</span><br>
          <span style="color: rgb(0, 38, 255);">Github代码开源地址: https://github.com/luzhangRL/git-demo</span><br>
        </div>
      </el-card>
    </el-col>

    <el-col :span="8" style="margin-top:5px">
      
    </el-col>
  </el-row>



</template>

<script>

  export default {
    name: "Home",
    data() {
      return {
        tableData: []
      };
    },

    created() {
    }
  };


</script>

<style scoped>
  .user {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
  }

  .name {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .access {
    color: #999999;
  }

  .img {
    border: 2px red solid;
    width: 400px;
    height: 300px;
    object-fit: cover;
    display: table-cell;
    vertical-align: middle;
    text-align: center;

  }


  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }

  .clearfix:after {
    clear: both
  }

  .box-card {
    width: 480px;
  }

  .user-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 40px;
    display: block;
    border-radius: 50%;
  }

  .time {
    font-size: 13px;
    color: #999;
  }

  .bottom {
    margin-top: 13px;
    line-height: 12px;
  }

  .button {
    padding: 0;
    float: right;
  }

  .image {
    width: 100%;
    display: block;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }

  .clearfix:after {
    clear: both
  }
</style>